<template>

		<view>
			<!-- store -->
			<view class="store">
				<view class="storeItem" v-for="(item,index) in storeItem" :key="index" @click="storeItemClick(item.path)">
					<text>{{item.title}}</text>
					<image src="/static/icons/jiantou1.png" class="jiantou"></image>
				</view>
			</view>
			<!-- store end -->
		
		</view>
	
</template>

<script>
	export default {
		data() {
			return {
				storeItem:[
					{
						title:"课程缓存",
						path:"/pages/my/download/huancun/course"
					},
					{
						title:"讲义缓存",
						path:"/pages/my/download/huancun/handout"
					},
					{
						title:"笔记缓存",
						path:"/pages/my/download/huancun/booknote"
					},
					{
						title:"群文件",
						path:"/pages/my/download/huancun/group"
					}
				]
			}
		},
		methods: {
			storeItemClick(url){
				uni.navigateTo({
					url
				})
		}
	},
}
</script>

<style>
page {
	background-color: #f5f6f8;
}
</style>

<style lang="scss" scoped>
.store{
		background: #FFFFFF;
		border-radius: 10px;
		margin: 10px 10px 10px 10px;
		padding-left: 20px;
		.storeItem{
			height: 50px;
			line-height: 50px;
			border-bottom: 1px solid #dfdfdf;
			&:last-child{
				border-bottom: none;
			}
			.icons{
				width: 20px;
				height: 20px;
				margin-top:-5px ;
				margin-right: 10px;
				vertical-align: middle;
			}
			.jiantou{
				width: 10px;
				height: 10px;
				float: right;
				margin-right: 20px;
				margin-top: 20px;
				vertical-align: middle;
			}
		}
	}
.underline{
	text-decoration: underline;
}
</style>
